<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>用户登录</title>
<link href="../static/css/base.css" rel="stylesheet" type="text/css" />
<link href="../static/css/login.css" rel="stylesheet" type="text/css" />
<script src="./static/js/jquery.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$('.rand').click(function(){
		freshRand();
	});

});
function freshRand() {
	var obj = $("img.rand");
	var href=obj.attr("src");
    $(obj[0]).attr("src",href+"?time="+new Date().getTime());
}

</script>
</head>
<body>
<div id="login-box">
   <div class="login-top"><a href="../index.php" target="_blank" title="返回网站主页">返回网站主页</a></div>
<div class="login-main">
    <form name="form" method="post" action="<?php echo $pageName; ?>">
      <dl>
	   <dt>用户名:</dt>
	   <dd><input type="text" name="userid"/></dd>
	   <dt>密&nbsp;&nbsp;码:</dt>
	   <dd><input type="password" class="alltxt" name="pwd"/></dd>
	   	   <dt>验证码:</dt>
	   <dd><input id="rand" type="text" name="rand" /><img class="rand" alt="看不清?点击更换" src="../core/function/rand.php"/>
           <a class="rand" href="#" >看不清?点击更换 </a></dd>
				<dt>&nbsp;</dt>
		<dd><input type="submit" name="login" value="登录" class="login"  /></dd>
	 </dl>
	</form>
   </div>
</div>
</body>
</html>